package pref.junx.flybird.base.model;

import java.io.Serializable;

/**
 * Created by JunX on 17/5/12.
 */

public class ReturnModel<T> implements Serializable {

    private int errorCode;

    private T returnJson;

    public ReturnModel() {

    }

    public ReturnModel(int errorCode, T returnJson) {
        this.errorCode = errorCode;
        this.returnJson = returnJson;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public T getReturnJson() {
        return returnJson;
    }

    public void setReturnJson(T returnJson) {
        this.returnJson = returnJson;
    }

}
